<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta
      http-equiv="Content-Security-Policy"
      content="
      default-src 'none';
      img-src 'self' data:;
      script-src 'self' 'unsafe-inline' data:;
      style-src 'self';"
    />
    <title>Mocha</title>
    <link
      rel="icon"
      type="image/png"
      href=""
    />
    <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
    <script src="../node_modules/mocha/mocha.js"></script>
    <script type="importmap">
      {
        "imports": {
          "chai": "../node_modules/chai/chai.js",
          "test": "./test.mjs"
        }
      }
    </script>
    <script src="../dist/otpauth.umd.js"></script>
    <script type="module">
      import { assert } from "chai";

      globalThis.assert = assert;
      globalThis.assertEquals = assert.deepEqual;
      globalThis.assertMatch = assert.match;

      mocha.setup({ ui: "bdd", reporter: "html" });
      await import("test");
      mocha.run();
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>
